from django.urls import path, re_path
from rest_framework_jwt.views import obtain_jwt_token, verify_jwt_token, refresh_jwt_token
from . import views


urlpatterns = [
    path(r'login/', obtain_jwt_token),
    path('verify/', refresh_jwt_token),
    re_path(r"mobile/(?P<phone>1\d{10})/", views.MobileAPIView.as_view()),
    path('register/', views.RegisterView.as_view()),
]